'use strict'
const path = require('path')
function resolve(dir) {
  return path.join(__dirname, dir)
}
module.exports = {
    publicPath: './',
    configureWebpack: {
        resolve: {
          fallback: {
            path: require.resolve('path-browserify'),
          },
        },
    },
    devServer: {
      port: 4000, // 端口
      // https: true,
      client: {
        overlay: false // 编译错误时，取消全屏覆盖（建议关掉）
      },
    },
}
